noinst_PROGRAMS=gfw ../gfw
gfw_SOURCES= libipq.c \
             main.c  \
						 monitor.c
gfw_LDADD = $(wildcard $(top_srcdir)/gui/*.o) \
            $(wildcard $(top_srcdir)/rules/*.o) \
            $(wildcard $(top_srcdir)/xml/*.o) \
            $(wildcard $(top_srcdir)/md5/*.o)
gfw_LDFLAGS= `xml2-config --libs` `pkg-config --libs gtk+-2.0 gthread-2.0 libwnck-1.0` \
           -lpthread
../gfw:
	cp gfw $@
DEFS+=-D_GNU_SOURCE
DEFAULT_INCLUDES= -I$(top_srcdir) -I$(top_srcdir)/inc -I$(top_srcdir)/xml \
          -I$(top_srcdir)/gui -I$(top_srcdir)/rules -I$(top_srcdir)/md5 \
          `xml2-config --cflags` `pkg-config --cflags gtk+-2.0` `pkg-config --cflags libwnck-1.0`
export DEFAULT_INCLUDES
